package com.hs.dynamic.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Description: TODO
 * @Author 胡尚
 * @Date: 2024/8/2 10:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserReq {

    @NotBlank(message = "用户名不能为null")
    @ApiModelProperty(value = "用户名")
    private String username;

    @NotBlank(message = "密码不能为null")
    @ApiModelProperty(value = "密码")
    private String password;


    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "描述")
    private String description;

}
